package com.shopoo.oauth.dto.cqe;

import javax.validation.constraints.NotEmpty;

import com.shopoo.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description 用户登录DTO
 * @Date 2020/5/25 1:14 下午
 * @Author <a href="mailto:android_li@sina.cn">Joe</a>
 **/
@Data
public class LoginCmd extends Command {

    @ApiModelProperty("用户名")
    @NotEmpty(message = "用户名不能为空")
    private String username;

    @ApiModelProperty("密码")
    @NotEmpty(message = "密码不能为空")
    private String password;

}
